#ifndef PLANETCONTROLS_H
#define PLANETCONTROLS_H

#include <QtGui/QWidget>
#include "ui_PlanetControls.h"
#include "Gui.hh"

class Gui::PlanetControls : public QWidget {
    Q_OBJECT

    private: Ui::PlanetControlsClass ui;
    protected: Bolygo* planet;

    public: PlanetControls(QWidget *parent = 0);
    public: ~PlanetControls();

    public: void clear();

    signals: void build(Bolygo* planet, QString what, u8 count);
    public slots: void emit_build();
    public slots: void update_planet(Bolygo* planet);

};

#endif // PLANETCONTROLS_H
